package com.zjdiepu.www.task;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.zjdiepu.www.commpent.RedisObjectClient;

@RunWith(SpringJUnit4ClassRunner.class) 
@ContextConfiguration(locations={"classpath*:/spring-diepu-task-tmp.xml"})
public class FlushDb {
	@Resource
	private RedisObjectClient redisObjectClient;
	
	@Test
	public void testFlushDb(){
		redisObjectClient.del("last_time");
	}
}
